import Layout from '@/layout'
export default {
  path: '/departments',
  component: Layout,
  // 给layout配置二级的路由
  children: [
    {
      // 二级路由path通常需要加斜杠
      // 如果子路由的路径是''空字符串，当前路径默认配置
      path: '',
      name: 'departments',
      component: () => import('@/views/departments/departments.vue'),
      meta: { title: '组织架构', icon: 'tree' }
    }
  ]
}

